<!DOCTYPE html>
<?php $this->load->view('navmenu');?>
<div class="maincontent">
        	<div class="contentinner">
                
				<h4 class="widgettitle ctitle">Approval Submit Shop Drawing </h4>		
				<div class="widgetcontent bordered shadowed nopadding">
                    <form class="stdform stdform2" method="post" action="<?php echo base_url()?>index.php/project/saveApproval" enctype="multipart/form-data">
							<input type="hidden" name="id_thread" value="<?php echo $projectId;?>" id="nama" class="input-xlarge" readonly/>
							<p>
                                <label>Nama Shop Drawing</label>
                                <span class="field"><input type="text" name="nama_sd" value="<?php echo $thread['subject'];?>" id="nama" class="input-xlarge" readonly/><a href="<?php echo base_url();?>index.php/project/showThread/<?php echo $projectId;?>"/>     <i class="btn btn-success btn-rounded">Check Shop Drawing</i></a></span>
                            </p>
							<p>
                                <label>To</label>
                                <span class="field"><input type="text" name="kepada" id="nama" class="input-xlarge"/></span>
                            </p>
							<p>
                                <label>Subject</label>
                                <span class="field"><input type="text" name="subject" id="nama" class="input-xlarge"/></span>
                            </p>
							<p>
                                <label>Drawing Title</label>
                                <span class="field"><input type="text" name="draw_title" id="nama" class="input-xlarge"/></span>
                            </p>
							<p>
                                <label>Drawing Number</label>
                                <span class="field"><input type="text" name="draw_number" id="nama" class="input-xlarge"/></span>
                            </p>
							<p>
                            <label>Submit Approval File</label>
                            <span class="field">
                            	<input type="file" class="uniform-file" name="userfile" />
                            </span>
							</p>
                                                    
                            <p class="stdformbutton">
								<button type="submit" name="submit" class="btn btn-primary">Submit Approval</button>
								<button type="reset" name="reset" class="btn">Reset</button>
                            </p>
                        </form>
                    </div><!--widgetcontent-->		
            </div><!--contentinner-->
        </div><!--maincontent-->